package com.demo.singleton;

/**
 * @Author likz
 * @Date 2025/7/23 16:36
 * @Description 饿汉
 **/
public class SingletonDemo {

    private  SingletonDemo() {};

    private static SingletonDemo singletonDemo = new SingletonDemo();
    public static SingletonDemo getSingletonDemo() {
        return singletonDemo;
    }


}
